package com.deer.wms.base.system.model.zh;

import com.alibaba.fastjson.annotation.JSONField;


/** 缓存线状态修改时；晶棒入缓存线，发送位置信息给MES;出库完成也用这个
 * @author 李帅辰
 * @date 2021/5/31 16:55
 */
public class CacheLine {
    private String materialId;//单晶编码
    private String stockId;//晶棒缓存线编码
    private String state;//缓存线可派工状态，NG/OK
    private String userId;//WMS
    private String description;//缓存线可派工状态描述
    private String stockInTime;
    @JSONField(serialize = false)
    private String wmsJson;

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getStockInTime() {
        return stockInTime;
    }

    public void setStockInTime(String stockInTime) {
        this.stockInTime = stockInTime;
    }

    public String getStockId() {
        return stockId;
    }

    public void setStockId(String stockId) {
        this.stockId = stockId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getWmsJson() {
        return wmsJson;
    }

    public void setWmsJson(String wmsJson) {
        this.wmsJson = wmsJson;
    }

    @Override
    public String toString() {
        return "CacheLine{" +
                "materialId='" + materialId + '\'' +
                ", stockId='" + stockId + '\'' +
                ", state='" + state + '\'' +
                ", userId='" + userId + '\'' +
                ", description='" + description + '\'' +
                ", stockInTime='" + stockInTime + '\'' +
                ", wmsJson='" + wmsJson + '\'' +
                '}';
    }
}
